table of contents
GLUTSETMENUDATA(3) | Library Functions Manual (local) | GLUTSETMENUDATA(3) |
NAME¶
glutSetMenuData
—
Store menu user data pointer
LIBRARY¶
OpenGLUT - menus
SYNOPSIS¶
#include
<openglut.h>
void
glutSetMenuData
(void
*data);
PARAMETERS¶
data
Client pointer data
DESCRIPTION¶
glutSetMenuData() associates an arbitrary user data pointer,
data,
with the
current menu
. OpenGLUT does not interpret this pointer in any way, but merely stores it for you in the menu structure.